﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DataAccess
{
    public class LoginDataAccess
    {
       public static string Login_GiangVien_Ma(string username)
       {
           return DataAccess.ExeStoredToString("Login_GiangVien_Ma", "@MaGiangVien", username);         
       }
       public static string Login_GiangVien_Pass(string username,string pass)
       {
           return DataAccess.ExeStoredToString("Login_GiangVien_Pass", "@MaGiangVien", username, "@PassGiangVien",pass);
       }
        public static string Login_SinhVien_Ma(string username)
        {
            return DataAccess.ExeStoredToString("Log_SinhVien_Ma", "@MaSinhVien", username);
        }
        public static string Login_SinhVien_Pass(string username, string pass)
        {
            return DataAccess.ExeStoredToString("Log_SinhVien_Pass", "@MaSinhVien", username, "@Pass_Login", pass);
        }
    }
}
